//
//  BBBaseTableView.swift
//  BBTemplateProject
//
//  Created by Chen on 2017/10/13.
//  Copyright © 2017年 Chen. All rights reserved.
//

import UIKit

class BBBaseTableView: UITableView {

    override init(frame: CGRect, style: UITableViewStyle) {
        super.init(frame: frame, style: style)

        self.estimatedRowHeight = 0;
        self.estimatedSectionHeaderHeight = 0;
        self.estimatedSectionFooterHeight = 0;
        if #available(iOS 11.0, *) {
            self.contentInsetAdjustmentBehavior = .never
        }

    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
